package com.ruoyi.houses.domain;

import java.math.BigDecimal;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 房屋信息列表对象 houses
 * 
 * @author ruoyi
 * @date 2024-09-13
 */
@Data
public class Houses extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房屋id */
    private Long id;



    /** 城市ID，可能用于关联到城市表 */
    @Excel(name = "城市ID，可能用于关联到城市表")
    private Long cityId;


    /** 小区的ID */
    @Excel(name = "小区的ID")
    private Long communityId;

    /** 小区的名称 */
    @Excel(name = "小区的名称")
    private String communityName;

    /** 楼盘名称 */
    @Excel(name = "楼盘名称")
    private String buildName;

    /** 楼盘ID，可能作为主键或唯一标识符 */
    @Excel(name = "楼盘ID，可能作为主键或唯一标识符")
    private Long buildId;

    /** 负责经纪人id */
    @Excel(name = "负责经纪人id")
    private Long brokerId;

    /** 经纪人联系电话 */
    @Excel(name = "经纪人联系电话")
    private String brokerTel;

    /** 装修类型（如毛坯、精装等） */
    @Excel(name = "装修类型", readConverterExp = "如=毛坯、精装等")
    private String decorateType;

    /** 楼层 */
    @Excel(name = "楼层")
    private Long level;

    /** 户型的id */
    @Excel(name = "户型的id")
    private Long specificationId;

    /** 朝向 */
    @Excel(name = "朝向")
    private String orientation;

    /** 区域ID，可能用于关联到区域表 */
    @Excel(name = "区域ID，可能用于关联到区域表")
    private Long districtId;

    /** 区域名称 */
    @Excel(name = "区域名称")
    private String districtName;

    @Excel(name = "省ID")
    private Long provinceId;


    @Excel(name = "省名称")
    private String provinceName;

    /** 销售状态 */
    @Excel(name = "销售状态")
    private String saleStatus;

    /** 房屋类型 */
    @Excel(name = "房屋类型")
    private Long houseType;

    /** 城市名称，可能与city_id关联 */
    @Excel(name = "城市名称，可能与city_id关联")
    private String cityName;

    /** 总面积，可能包含逗号，需要处理 */
    @Excel(name = "总面积，可能包含逗号，需要处理")
    private BigDecimal totalArea;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String addressDesc;

    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private BigDecimal latitude;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }

    public void setCommunityId(Long communityId) 
    {
        this.communityId = communityId;
    }

    public Long getCommunityId() 
    {
        return communityId;
    }
    public void setCommunityName(String communityName) 
    {
        this.communityName = communityName;
    }

    public String getCommunityName() 
    {
        return communityName;
    }
    public void setBuildName(String buildName) 
    {
        this.buildName = buildName;
    }

    public String getBuildName() 
    {
        return buildName;
    }
    public void setBuildId(Long buildId) 
    {
        this.buildId = buildId;
    }

    public Long getBuildId() 
    {
        return buildId;
    }
    public void setBrokerId(Long brokerId) 
    {
        this.brokerId = brokerId;
    }

    public Long getBrokerId() 
    {
        return brokerId;
    }
    public void setBrokerTel(String brokerTel) 
    {
        this.brokerTel = brokerTel;
    }

    public String getBrokerTel() 
    {
        return brokerTel;
    }
    public void setDecorateType(String decorateType) 
    {
        this.decorateType = decorateType;
    }

    public String getDecorateType() 
    {
        return decorateType;
    }
    public void setLevel(Long level) 
    {
        this.level = level;
    }

    public Long getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Long provinceId) {
        this.provinceId = provinceId;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }
    public Long getLevel() 
    {
        return level;
    }
    public void setSpecificationId(Long specificationId) 
    {
        this.specificationId = specificationId;
    }

    public Long getSpecificationId() 
    {
        return specificationId;
    }
    public void setOrientation(String orientation) 
    {
        this.orientation = orientation;
    }

    public String getOrientation() 
    {
        return orientation;
    }
    public void setDistrictId(Long districtId) 
    {
        this.districtId = districtId;
    }

    public Long getDistrictId() 
    {
        return districtId;
    }
    public void setDistrictName(String districtName) 
    {
        this.districtName = districtName;
    }

    public String getDistrictName() 
    {
        return districtName;
    }
    public void setSaleStatus(String saleStatus) 
    {
        this.saleStatus = saleStatus;
    }

    public String getSaleStatus() 
    {
        return saleStatus;
    }
    public void setHouseType(Long houseType) 
    {
        this.houseType = houseType;
    }

    public Long getHouseType() 
    {
        return houseType;
    }
    public void setCityName(String cityName) 
    {
        this.cityName = cityName;
    }

    public String getCityName() 
    {
        return cityName;
    }
    public void setTotalArea(BigDecimal totalArea) 
    {
        this.totalArea = totalArea;
    }

    public BigDecimal getTotalArea() 
    {
        return totalArea;
    }
    public void setAddressDesc(String addressDesc) 
    {
        this.addressDesc = addressDesc;
    }

    public String getAddressDesc() 
    {
        return addressDesc;
    }
    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cityId", getCityId())
            .append("communityId", getCommunityId())
            .append("communityName", getCommunityName())
            .append("buildName", getBuildName())
            .append("buildId", getBuildId())
            .append("brokerId", getBrokerId())
            .append("brokerTel", getBrokerTel())
            .append("decorateType", getDecorateType())
            .append("level", getLevel())
            .append("specificationId", getSpecificationId())
            .append("orientation", getOrientation())
            .append("districtId", getDistrictId())
            .append("districtName", getDistrictName())
            .append("saleStatus", getSaleStatus())
            .append("houseType", getHouseType())
            .append("cityName", getCityName())
            .append("totalArea", getTotalArea())
            .append("addressDesc", getAddressDesc())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
